#ifndef INNERMAP_H
#define INNERMAP_H
#include <innercity.h>
#include <QMainWindow>

namespace Ui {
class innermap;
}

class innermap : public QMainWindow
{
    Q_OBJECT

public:
    explicit innermap(QWidget *parent = nullptr);
    int px,py;
    map<string,int>getx;
    map<string,int>gety;
    map<string,int>getwidth;
    map<string,int>getheight;
    int cx[6];
    int cy[6];
    ~innermap();

private:
    Ui::innermap *ui;
    void paintEvent(QPaintEvent *ev);
    void mousePressEvent(QMouseEvent *ev);

    innercity icc;
};

#endif // INNERMAP_H


